<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 <html>
<head>
	<link type="text/css" rel="stylesheet" href="/stylesheets/main.css" />
    <title>{% block title %}The Living History{% endblock %}</title>
	
	{% block head %}{% endblock %}
	
</head>

{% block bodytag %}
	<body>
{% endblock %}

	<div id="header">
		<h1>The Living History</h1>
		<div id="login">
			{% include "authenticate.html" %}
		</div>
	</div>

	<div id="leftnav">
		<p>This website is a project by Mithun Chaubey.</p>
		<ul>
			<li><a href="/">Home</a></li>
			<li><a href="http://blog.thelivinghistory.org">Blog</a></li>
		</ul>
	</div>
	
	<div id="content">
	
		{% block content %}
				
		<div id="actionbar">
			<ul>
				{% block actionbar %}
				{% endblock %}
			</ul>
		</div>
	
		<div id="contentbox">
		
			{% if alert %}
				<div id="alertbox" align="center">
				{{ alert }}
				</div>
			{% endif %}
		
			<div id="mainheading"><h1>
			{% block mainheading %}
			{% endblock %}
			</h1></div>
		    
			{% block display %}
			{% endblock %}
		
		</div>
		
		{% endblock %}
	
	</div>
	
	<div id="footer">
		{% block footer %}{% endblock %}
	</div>

</body>
</html>